<table border="1">
#for(srfis : srfis_column)
  <tr>
  #for( fieldinfo :srfis )
	#if (fieldinfo.field_type == "d")
	[[set]](#(fieldinfo.field_name)_sum=0)
	#end
    <th style="#(fieldinfo.fieldExt.columnStyle)" >
#(fieldinfo.fieldExt.columnExt)#(fieldinfo.field_view)
</th>
	#end
	#if (for.index == 0)
	[[use_ext_ch]]
	#end
  </tr>
#end
[[excel_valuelist_start]]
[[use_tag]]
#for(srfis :srfis_data)
  <tr trqtag="data">
  #for(fieldinfo : srfis)    
#if (fieldinfo.field_type == "d")
[[set]](#(fieldinfo.field_name)_sum=#(fieldinfo.field_name)_sum ?? 0+(rowInfo.#(fieldinfo.field_name))??0)
#end
    <td>
#(fieldinfo.fieldExt.dataExt ?? "")
#switch (fieldinfo.field_type)
#case ("ldate")
#if ((fieldinfo.field_name ?? "").indexOf(".")!=-1)
[[list_ldate2_1]]#(fieldinfo.field_name)[[list_ldate2_2]],outfmt:"#(fieldinfo.getFieldExt().getViewFmt())"})
#else
[[list_ldate1_1]]#(fieldinfo.field_name)[[list_ldate1_2]],outfmt:"#(fieldinfo.getFieldExt().getViewFmt())"})
#end
#case ("sdate")
#if ((fieldinfo.field_name ?? "" ).indexOf(".")!=-1)
[[list_sdate2_1]]#(fieldinfo.field_name)[[list_sdate2_2]],infmt:"#(fieldinfo.getFieldExt().getRealFmt())",outfmt:"#(fieldinfo.getFieldExt().getViewFmt())"})
#else
[[list_sdate1_1]]#(fieldinfo.field_name)[[list_sdate1_2]],infmt:"#(fieldinfo.getFieldExt().getRealFmt())",outfmt:"#(fieldinfo.getFieldExt().getViewFmt())"})
#end
#case ("uddt")
[[uddt_#(fieldinfo.id ?? 0)]]
#case ("d")
[[list_d_1]]#(fieldinfo.field_name),format:"#(fieldinfo.fieldExt.viewFmt)"[[list_d_2]]
#default
#if ((fieldinfo.field_name ?? "" ).indexOf("#")!=-1)
#(fieldinfo.field_name)
#else if ((fieldinfo.field_name ?? "" ).indexOf(".")!=-1)
[[list_default2_1]]#(fieldinfo.field_name)[[list_default2_2]]
#else
[[list_default1_1]]#(fieldinfo.field_name)[[list_default1_2]]
#end
#end
    </td>
#end
#if (for.index == 0)
[[use_ext_cv]]
#end
  </tr>
#end
[[excel_valuelist_end]]